.class public Lcom/xingbook/b/o;
.super Lcom/xingbook/b/n;


# instance fields
.field private a:I

.field private b:Ljava/util/ArrayList;


# direct methods
.method public constructor <init>(I)V
    .locals 1

    const v0, 0x8000

    or-int/2addr v0, p1

    invoke-direct {p0, v0}, Lcom/xingbook/b/n;-><init>(I)V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/b/o;->a:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/b/o;->b:Ljava/util/ArrayList;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/b/o;->b:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 2

    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/b/o;->i()V

    return-void

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/xingbook/b/o;->a(Ljava/lang/Object;)V

    goto :goto_0
.end method

.method public d()Lcom/xingbook/service/download/g;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public g()I
    .locals 1

    iget v0, p0, Lcom/xingbook/b/o;->a:I

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/b/o;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Lcom/xingbook/b/o;->a:I

    goto :goto_0
.end method

.method public h()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/b/o;->b:Ljava/util/ArrayList;

    return-object v0
.end method

.method public h(Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/b/o;->u(I)V

    return-void
.end method

.method public i()V
    .locals 2

    :try_start_0
    iget-object v0, p0, Lcom/xingbook/b/o;->b:Ljava/util/ArrayList;

    new-instance v1, Lcom/xingbook/b/p;

    invoke-direct {v1, p0}, Lcom/xingbook/b/p;-><init>(Lcom/xingbook/b/o;)V

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public i(Ljava/lang/String;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/xingbook/b/n;->w(Ljava/lang/String;)V

    return-void
.end method

.method public u(I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/b/o;->a:I

    return-void
.end method
